<div style="text-align:left">
	Tournament ID:<br /><input id="torunament_id" size="5" class="textinput" type="text" />
	<button class="myButton" id="edit_torunament">Edit</button>
</div>

<script type="text/javascript">
$(function(){
	$("#edit_torunament").click(function(){
		window.location.href="tournament.php?id=" + $("#torunament_id").val() + "&edit=1";
	});
});
</script>

<?php

?>
